
export const getQuery = () => {
  let urlArr = location.search.slice(1).split('&')
  let query = []
  urlArr.forEach(item => {
    query.push(item.split('='))
  })
  return Object.fromEntries(query)
}


